package com.nanhai.buddhist.college.module.collegebase.controller.admin.teacherteachers.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import static com.nanhai.buddhist.college.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
* 教师管理 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class TeacherTeachersBaseVO {

    @ApiModelProperty(value = "工号")
    private String jobNumber;

    @ApiModelProperty(value = "编号")
    private String teacherNumber;

    @ApiModelProperty(value = "法名")
    private String legalName;

    @ApiModelProperty(value = "教师姓名")
    private String teacherName;

    @ApiModelProperty(value = "教师性别")
    private String teacherSex;

    @ApiModelProperty(value = "教师年龄")
    private String teacherAge;

    @ApiModelProperty(value = "教师出生日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date teacherBirthday;

    @ApiModelProperty(value = "教师简介")
    private String teacherIntroduce;

    @ApiModelProperty(value = "修行类型")
    private String practiceType;

    @ApiModelProperty(value = "院校id")
    private String collegeId;

    @ApiModelProperty(value = "职称（教授、副教授）")
    private String post;

    @ApiModelProperty(value = "聘用类型")
    private String employType;

    @ApiModelProperty(value = "聘用时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date employTime;

    @ApiModelProperty(value = "联系电话")
    @Length(min=1, max=11)
    private String teacherTelephone;


    @ApiModelProperty(value = "证件照片", required = true)
    private String papersImage;

    @ApiModelProperty(value = "证件正面照片")
    private String frontImage;

    @ApiModelProperty(value = "证件反面照片")
    private String reversesImage;

    @ApiModelProperty(value = "证件类型")
    private String papersType;

    @ApiModelProperty(value = "头像")
    private String headImage;

    @ApiModelProperty(value = "民族")
    private String nation;

    @ApiModelProperty(value = "籍贯")
    private String natively;

    @ApiModelProperty(value = "研究方向")
    private String researchDirection;

    @ApiModelProperty(value = "微信")
    private String wechat;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "学院名称")
    private String collegeName;

    @ApiModelProperty(value = "身份证号码")
    private String identityCardNumber;



}
